/*
   调用21类和22类
 */
public class TestWork02 {
    public static void main(String[] args) {

        Work021 m1 = new Work021("一龙", 123, 15000, 6000);
        m1.work();
        Work021 m2 = new Work021();
        m2.setName("郑浩");
        m2.setId(124);
        m2.setSalary(100000);
        m2.setBonus(50000);
        m2.work();

    }
}
